<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><fmt:message key="login.title"/> - <fmt:message key="app.title"/></title>
<link rel="stylesheet" href="<c:url value="/static/styles/styles.css" />" type="text/css"/>
</head>
<body>
<div id="container">
  <div id="header">
    <div id="branding" class="left-side"> 
      <h1><fmt:message key="app.name"/></h1>
    </div>
  </div>
  <div id="content">
    <div id="form">
      <h1><fmt:message key="login.title"/></h1>
      <div id="error">
        <c:if test="${param.failed}"><fmt:message key="login.failed"/></c:if>
      </div>

      <form id="loginForm" method="post" action="<c:url value="/j_spring_security_check" />">
        <label for="j_username"><fmt:message key="login.username"/></label>
        <input name="j_username" type="text" />
        <label for="j_password"><fmt:message key="login.password"/></label>
        <input name="j_password" type="password" />
        <label for="_spring_security_remember_me"><fmt:message key="login.rememberMe"/></label>
        <input id="rememberMe" name="_spring_security_remember_me" type="checkbox" value="" />
        <label for="submitButton">
          <!--  -->
        </label>
        <input id="submitButton" type="submit" value="<fmt:message key="login.submit"/>" />
      </form>
    </div>
  </div>
  <div id="footer"> 
     <fmt:message key="app.copyright"/>
  </div>
</div>
</body>
</html>